<?php echo $html->css('/assets/css/gallery.css');?>
<?php
if(!empty($listingAssets))
{
	$gallery->model = 'ListingAsset';
	$gallery->title = '';
	$gallery->columns = 4;
	$gallery->setColumns(4);
	$gallery->galleryItems = $listingAssets;	
	$gallery->imgOptions = array('thumb'=>array('height'=>103,'width'=>135,'crop'=>true));
	echo $gallery->output();
?>
<div class= 'clear'>
</div>

<div class='paginate'>
	<?php $paginator->options(array('url'=>$this->passedArgs))?>
	<?php echo $paginator->prev(__('Prev'));?>
	<?php echo $paginator->numbers(array('separator'=>' ','url'=>$this->passedArgs));?>
	<?php echo $paginator->next(__('Next'));?>
</div>
<?php 
}else
{
	echo __('There is no Image.');
}

?>